package com.xxh.cloud.provider.controller;

import com.xxh.cloud.common.vo.R;
import com.xxh.cloud.provider.service.inft.UserLogService;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author ASUS
 * @date 2021/9/2 18:42
 */
@Api(value = "用户日志",tags = "")
@RestController
@RequestMapping("provider/userLog/")
@CrossOrigin
public class UserLogController {
    @Autowired
    private UserLogService service;

    @PostMapping("all.do")
    public R all(){
        return service.all();
    }

}
